<template>
    <td class="border-darkred border-1 roundy-5 padding-0 
    text-center padding-left-2 padding-right-2 padding-bottom-2">
        <div class="margin-2 font-bold font-size-15">{{label}}</div>            
        <div class="bg-white border-1 border-darkred roundy-5 padding-5 text-center">
            {{content}}

            <!-- 该组件标签所包裹的内容 -->
            <slot></slot>
            
        </div>            
    </td>
</template>

<script>
export default {
    name: "PokemonCardLabel",
    props:['label', 'content'], /* label为标签的名字或者说标题，content为标签内容 */
}
</script>

<style>

</style>